package main

import (
	"fmt"
	"record"
	"time"
)

var logger record.StdLogger

func main() {

	ticks := time.NewTicker(time.Second * 1)

	go func() {

		for range ticks.C {
			fmt.Printf("get tick %v\n", time.Now())
			logger.Logger.Fatalf("get tick %v", time.Now())
		}

	}()
	time.Sleep(time.Minute * 1)

}
